﻿<UserControl x:Class="ParticleFiltersDemo1.MainPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:local="clr-namespace:ParticleFiltersDemo1">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Canvas x:Name="LayoutRoot"
                Grid.Row="1"
                Background="Green">

            <local:RobbieTemplatedControl Width="25"
                                          Height="25"
                                          Robbie="{Binding Robot}" />
            <local:ParticleSetTemplatedControl Particles="{Binding Particles}"
                                               Canvas.ZIndex="10" />
            <Ellipse x:Name="MeanPoint"
                     Width="15"
                     Height="15"
                     Canvas.ZIndex="20"
                     Fill="Violet" />
        </Canvas>

    </Grid>
</UserControl>
